<template>
	<view>
		
		<view>
			<block v-for="(item, index) in list" :key='index'>
				<commonList :item="item"></commonList>
				<view style="border: 15rpx #F5F5F5 solid;"></view>
			</block>
		</view>
		
		
	</view>
</template>

<script>
	import commonList from '@/components/common/common_list.vue'
	export default {
		components: {
			commonList
		},
		data() {
			return {
				list: [{
					username: "昵111称",
					time: "2019-07-01",
					title: "哦哦哦",
					sharepic: "../../static/demo/datapic/3.jpg",
					support: 1,
					unsupport: 1,
					comment: 4,
					share: "分享",
					isSupport: "",
					userpic:"../../static/default.jpg"
				},{
					username: "昵111称",
					time: "2019-07-01",
					title: "哦哦哦",
					sharepic: "",
					support: 0,
					unsupport: 1,
					comment: 4,
					share: 6,
					isSupport: "",
					userpic:"../../static/demo/userpic/19.jpg"
				},{
					username: "昵111称",
					time: "2019-07-01",
					title: "打算法大师傅",
					sharepic: "../../static/demo/datapic/1.jpg",
					support: 0,
					unsupport: 1,
					comment: 0,
					share: 0,
					isSupport: "support",
					userpic:"../../static/demo/userpic/18.jpg"
				},
				]

			}
		},
		onLoad() {

		},
		
		// 监听原生导航栏的点击事件
		onNavigationBarSearchInputClicked() {
			uni.navigateTo({
				url:"../search/search"
			})
		},
		
		methods: {

		}
	}
</script>

<style>

</style>
